package pattern.decorator.decorator;

// 配料表
public abstract class Ingredients extends FriedRice {
    private FriedRice friedRice;

    public Ingredients(FriedRice friedRice) {
        this.friedRice = friedRice;
    }

    public Ingredients() {
    }
    String getDesc() {
        return this.friedRice.getDesc();
    }
    Integer getPrice() {
        return this.friedRice.getPrice();
    }
}
